<!-- 模态框（Modal） -->
<div class="modal fade" id="addModel">
  <div class="modal-dialog" style="margin-top: 10%;">
    <div class="modal-content">
      <div class="modal-header">
        <h6 class="modal-title" id="addModalLabel">操作</h6>
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
      </div>
      <form class="form-horizontal" role="form">
        <div class="modal-body">
          <input type="hidden" id="id" name="id">
          <div class="form-group has-warning form-inline">
            <label class="col-sm-3 control-label" for="userName">用户名</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" id="userName" name="userName" placeholder="请输入用户名..." autocomplete="off">
            </div>
          </div>
          <div class="form-group has-warning form-inline">
            <label class="col-sm-3 control-label" for="roleId">角色名</label>
            <div class="col-sm-9">
              <select id="roleId" name="roleId" class="form-control" style="width: 66%">
              </select>
            </div>
          </div>
          <div class="form-group has-warning form-inline">
            <label class="col-sm-3 control-label" for="userEmail">邮箱</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" id="userEmail" name="userEmail" placeholder="请输入邮箱..." autocomplete="off">
            </div>
          </div>
          <div class="form-group has-warning form-inline">
            <label class="col-sm-3 control-label" for="userPhone">手机号</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" id="userPhone" name="userPhone" placeholder="请输入手机号..." autocomplete="off">
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="submit" class="btn btn-primary">提交更改</button>
        </div>
      </form>
    </div><!-- /.modal-content -->
  </div><!-- /.modal -->
</div>